<!DOCTYPE html>
<html lang="zh-cn">
{include file="public/head" /}
<body>
<!--头部-->
{include file="public/header" /}
<div class="clear"></div>

<div style="width:1260px;margin: 0 auto;">
    <p style="margin-left:20px;margin-top:20px;">当前位置：首页 > <span>影视视频</span></p>
    <div class="video-wraper">
        <div class="video-container">
            <iframe height=484 width=860 src='http://player.youku.com/embed/XMjk2OTA1MTY2NA==' frameborder=0 'allowfullscreen'></iframe>
        </div>
        <div class="video-dec">
            <p>广告宣传&nbsp;<span>2017.06.16</span></p>
            <h1>大观品牌宣传片</h1>
            <p>
                本招标项目惠州公司，河源公司保安服务招标（招标项目名称）已具备招标条件，现对该项目进行招标，
                择优选择中标人，详情如下：本招标项目惠州公司，河源公司保安服务招标（招标项目名称）已具备招标条件，
                现对该项目进行招标，择优选择中标人，详情如下：本招标项目惠州公司，河源公司保安服务招标（招标项目
                名称）已具备招标条件，现对该项目进行招标，择优选择中标人，详情如下：
            </p>
        </div>
        <div class="clear"></div>
        <style type="text/css">
        	.video-img{position:relative;}
        	.icon,.icon1{display:none;position:absolute;top:50%;left:50%;
        	transform:translateX(-50%) translateY(-50%);
        	-webkit-transform:translateX(-50%) translateY(-50%);
        	-ms-transform:translateX(-50%) translateY(-50%);
        	-moz-transform:translateX(-50%) translateY(-50%);
        	-o-transform:translateX(-50%) translateY(-50%);
        	}
        	.series-cargory ul li{position:relative;}
        </style>
        <ul class="video-cargroy">
            {foreach name="fourAdvert" item="fourAdvert"}
            <li>
                <p>大观广告</p>
                <p>2017.06.12</p>
                <div class="clear"></div>
                <div class="video-img">
                	<a href="{$fourAdvert['link_url']}">
                		<img src="/uploads/images/{$fourAdvert['images']}"/>
                		<img class="icon" src="/static/home/images/play.png"/>
                	</a>
                	
                </div>
                <h4>{$fourAdvert['title']}</h4>
                <!--<p>暂无</p>-->
                
            </li>
            {/foreach}

            <div class="clear"></div>
        </ul>
        <div class="clear"></div>
        <p class="video-more"><a href="###">更多最新视频</a></p>


    </div>
    <!--系列节目-->
    <div class="video-series">
    	<div style="width:1240px;background:#e1e1e1;">
    		<p class="series-title">系列节目</p>
    	</div>
        <div class="series-cargory">
            <ul>
                {foreach name="Advert" item="Advert"}
                <li>
                	<a href="{$Advert['link_url']}">
                		<img src="/uploads/images/{$Advert['images']}"/>
                		<img class="icon1" src="/static/home/images/play.png"/>
                	</a>
                </li>
                {/foreach}
                <div class="clear"></div>
            </ul>
            <p class="video-more" style="margin-top:20px;"><a href="###">更多系列节目</a></p>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
<div class="clear"></div>
    {include file="public/footer" /}
</body>
{include file="public/foot" /}
<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
<script src="js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: '.swiper-pagination',
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        spaceBetween:30,
        effect: 'fade',
        autoplay:3500
    });
    $(".tabNews li").on("click",function(){
        $(this).addClass("bottom").siblings("li").removeClass("bottom");
    });
    $(".tabNews li").eq(0).on("click",function(){
        $(".iframe1").eq(0).css("display","block");
        $(".iframe1").eq(2).css("display","none");
        $(".iframe1").eq(3).css("display","none");
        $(".iframe1").eq(1).css("display","none");

    });
    $(".tabNews li").eq(1).on("click",function(){
        $(".iframe1").eq(0).css("display","none");
        $(".iframe1").eq(2).css("display","none");
        $(".iframe1").eq(3).css("display","none");
        $(".iframe1").eq(1).css("display","block");

    });
    $(".tabNews li").eq(2).on("click",function(){
        $(".iframe1").eq(0).css("display","none");
        $(".iframe1").eq(2).css("display","block");
        $(".iframe1").eq(3).css("display","none");
        $(".iframe1").eq(1).css("display","none");
    });
    $(".tabNews li").eq(3).on("click",function(){
        $(".iframe1").eq(0).css("display","none");
        $(".iframe1").eq(2).css("display","none");
        $(".iframe1").eq(3).css("display","block");
        $(".iframe1").eq(1).css("display","none");
    });
    $(".video-cargroy li").hover(function(){
    	$(this).find(".icon").css({"display":"block","transition":"all 1s ease-in-out"});
    },function(){
    	$(this).find(".icon").css({"display":"none","transition":"all 1s ease-in-out"});
    });
    $(".series-cargory ul li").hover(function(){
    	$(this).find(".icon1").css({"display":"block","transition":"all 1s ease-in-out"});
    },function(){
    	$(this).find(".icon1").css({"display":"none","transition":"all 1s ease-in-out"});
    });
</script>
</html>

